<template>
  <router-view></router-view>
</template>
 
<script>
import NavMenu from "./router/defaultRouter";
// @ is an alias to /src
import MenuList from "@/components/menu-list.vue";
export default {
  name: "mains",
  components: {
    MenuList,
  },
  data() {
    return {
      isCollapse: false,
      List: NavMenu[0].children,
    };
  },
  mounted() {
    // this.renderMenu(NavMenu)
  },
  methods: {
    handleOpen(key, keyPath) {
      console.log(key, keyPath);
    },
    handleClose(key, keyPath) {
      console.log(key, keyPath);
    },
    // renderMenu (data) {
    //    return
    // }
  },
};
</script>
<style>
@import "./utils/css/base.css";
.filter-container{
  margin-bottom: 20px;
}
html,
body,
.main,
.el-container {
  width: 100%;
  height: 100%;
 
}
.is-vertical{
 overflow-y: scroll; 
}
.title {
  line-height: 60px;
  border-bottom: 1px solid #b3c0d1;
  font-size: 30px;
  padding-left: 50px;
  margin-bottom: 20px;
}
.el-header,
.el-footer {
  background-color: #b3c0d1;
  color: #333;
  /* text-align: center; */
  line-height: 60px;
  height: 60px !important;
}
.is-vertical {
  height: 100% !important;
}
.el-aside {
  background-color: #d3dce6;
  color: #333;
  text-align: center;
  /* line-height: 200px; */
}

.el-main {
  background-color: #e9eef3;
  color: #333;
  text-align: center;
  min-height: calc(100vh - 120px);
  /* line-height: 160px; */
}
.el-menu-vertical-demo:not(.el-menu--collapse) {
  width: 280px;
  /* min-height: 400px; */
}
.logo {
  height: 60px;
  line-height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.app-container {
  padding: 50px;
}
.pagination-container {
  margin-top: 30px;
}
</style>